import request from '@/utils/request'

// 查询服务预约记录列表
export function listINSSUBSCRIBE(query) {
  return request({
    url: '/instrument/web/INSSUBSCRIBE/list',
    method: 'get',
    data: query
  })
}

// 查询服务预约记录详细
export function getINSSUBSCRIBE(id) {
  return request({
    url: '/instrument/web/INSSUBSCRIBE/' + id,
    method: 'get'
  })
}

// 新增服务预约记录
export function addINSSUBSCRIBE(data) {
  return request({
    url: '/instrument/web/INSSUBSCRIBE',
    method: 'post',
    data: data
  })
}

// 修改服务预约记录
export function updateINSSUBSCRIBE(data) {
  return request({
    url: '/instrument/web/INSSUBSCRIBE',
    method: 'put',
    data: data
  })
}

// 删除服务预约记录
export function delINSSUBSCRIBE(id) {
  return request({
    url: '/instrument/web/INSSUBSCRIBE/' + id,
    method: 'delete'
  })
}
